//
//  NSString+WCExtensions.h
//  WabbitCode
//
//  Created by William Towe on 11/10/08.
//  Copyright 2008 Revolution Software. All rights reserved.
//

#import <Cocoa/Cocoa.h>


typedef enum _WCNumberBase {
	WCBaseSixteen,
	WCBaseTen,
	WCBaseTwo
	
} WCNumberBase;

@interface NSString (WCExtensions)
- (BOOL)stringToNumber:(id *)value currentValue:(id)currentValue error:(NSError **)error;
- (WCNumberBase)baseForString:(NSInteger *)stop start:(NSInteger *)start;
- (NSRange)wholeRange;

- (NSIndexPath *)indexPathFromString;

+ (NSString *)replaceAllNewLineCharactersWithSymbolInString:(NSString *)string;
@end
